/**
 * @author		Sergey Suzdalskiy
 * @e-mail:		sergey.suzdalskiy@gmail.com
 */
package ua.kiev.gcore.assets.storage
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.geom.Rectangle;
	import flash.utils.Dictionary;
	
	import ua.kiev.gcore.assets.event.AssetEvent;
	import ua.kiev.gcore.assets.loader.AssetLoader;

	public class AssetsItemStorage
	{
		private static var items:Dictionary = new Dictionary();
		
		public static function addItem(item:AssetItem):void{
			items[item.id] = item;
		}
		
		public static function getItem(id:String):AssetItem{
			var assrt:AssetItem;
			if(items[id]){
				assrt = items[id];	
			}
			return assrt;
		}
	}
}